package cn.outsourcing.supermarket.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


import java.math.BigDecimal;
import java.util.List;

/**
 * 足迹值对象
 *
 * @author gzkemays
 * @since 2021/10/23 3:34
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Accessors(chain = true)
public class OrderVO {
  Integer id;
  BigDecimal actualPrice;
  String addTime;
  Integer freightPrice;
  @JsonProperty(value = "goodsCount")
  Integer goodsCount;
  @JsonProperty(value = "goodsList")
  List<OrderGoodsVO> goodsList;
  @JsonProperty(value = "handleOption")
  OrderHandleOptionVO handleOption;
  Integer offlinePay;
  String orderStatusText;
  Integer orderStatus;
}
